From: Andreas Schwab Date: Sat, 29 Jun 2002 18:12:54 +0000 (+0000) Subject: (display-message-or-buffer): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31964 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ffe076be925dda037cfd635ca59d781009436d3c;p=emacs.git (display-message-or-buffer): Fix last change. --- diff --git a/lisp/simple.el b/lisp/simple.el index 0b91abb8ecb..416b6934f5e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1348,7 +1348,7 @@ and only used if a buffer is displayed." 1))) ;; Don't use the echo area if the output buffer is ;; already dispayed in the selected frame. - (not (get-buffer-window buffer))) + (not (get-buffer-window (current-buffer)))) ;; Echo area (goto-char (point-max)) (when (bolp)